//
//  Pack.m
//  MyTrip
//
//  Created by zhang on 15/8/27.
//  Copyright (c) 2015年 张益. All rights reserved.
//

#import "Pack.h"

@implementation Pack


- (void)dealloc
{
    [_authorName release];
    [_authorInfo release];
    [_authorImage release];
    [_packInfo release];
    [_name release];
    [super dealloc];
}

+ (instancetype) packWithName:(NSString *)name packInfo:(NSString *)packInfo authorName:(NSString *)authorName authorImage:(NSString *)authorImage authorInfo:(NSString *)authorInfo{
    Pack *pack = [[Pack alloc] init];
    pack.name = name;
    pack.packInfo = packInfo;
    pack.authorName = authorName;
    pack.authorImage = authorImage;
    pack.authorInfo = authorInfo;
    return [pack autorelease];
}





@end
